home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetconverttwips.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-15  |  786 b   |  29 lines

  1. /*
  2.  *--- PGetConvertTwips.cpp ------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetConvertTwips.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetConvertTwips.h"
  12. #include "PQuery.h"
  13. #include "PRequestBuf.h"
  14.  
  15. PGetConvertTwips::PGetConvertTwips(long dTwips, short cMeasureUnits)
  16. : PHandleQuery()
  17. {
  18.     char     temp[6];
  19.     
  20.     PRequestBuf request(temp);
  21.     
  22.     request << dTwips << cMeasureUnits;
  23.  
  24.     PQuery query(pm_getconverttwips, request, itsHandle);
  25.     InitHandle();
  26. }
  27.  
  28. // end of PGetConvertTwips.cpp
  29.